﻿using SnakeGame.Models;
using SnakeGame.Views;

namespace SnakeGame.ViewModels
{
    public class WinnerWindowViewModel : DialogTemplateViewModel
    {
        public string Name { get; set; }
        public int Position { get; set; }
        public string Picture { get; set; }
        public int Win { get; set; }
        public int Lose { get; set; }

        public WinnerWindowViewModel()
        {
        }

        public void Initialize(Player p)
        {
            Name = p.PlayerName;
            Position = p.Position;
            Picture = p.CharacterPicture;
            Win = p.Win;
            Lose = p.Lose;
        }

        protected override void OnOkCommand(object obj)
        {
            base.OnOkCommand(obj);
        }

        protected override void OnCancelCommand(object obj)
        {
            base.OnCancelCommand(obj);
        }

    }
}
